package com.ic.es.controller;

import com.ic.domain.HolographicFileDTO;
import com.ic.es.service.EsHolographicFileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/file")
public class HolographicFileController {

    @Autowired
    private EsHolographicFileService holoFileService;

    @PostMapping("/find")
    public void find(@RequestBody HolographicFileDTO holographicFileDTO) {
        holoFileService.search(holographicFileDTO);
    }

}
